﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CQIE.TES.IDAL;
using CQIE.TES.IService;
using CQIE.TES.Model;

namespace CQIE.TES.Service
{
    public class TeachingOfficeService:ITeachingOfficeService
    {
        private ITeachingOfficeDAL _officeDal { get; set; }

        public TeachingOfficeService(ITeachingOfficeDAL officeDal)
        {
            _officeDal = officeDal;
        }

        public List<Teacher> GetTeachingOfficeTeacherListByTeacherId(int tid)
        {
            return _officeDal.GetTeachingOfficeTeacherListByTeacherId(tid);
        }
    }
}
